<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
</head>
<body>
<table class="table table-bordered table-striped">
    <thead>
    <tr>
        <th>ID</th>
        <th>项目名称</th>
        <th>项目来源</th>
        <th>项目批准年份</th>
        <th>添加时间</th>
    </tr>
    </thead>
    <tbody>
    <c:forEach items="${list}" var="row">
        <tr>
            <td>${row.id}</td>
            <td>${row.projectname}</td>
            <td>${row.source}</td>
            <td>${row.year}</td>
            <td>${row.addtime}</td>
        </tr>
    </c:forEach>
    </tbody>
</table>
</body>
</html>